<template>
    <div class="box">
        <!-- <iframe width="100%" height="100%" frameborder="0" :src="info.url"></iframe> -->
    </div>
</template>

<script>
    import { getDetail } from "@/api/company";

    export default {
        data() {
            return {
                info: {},
            };
        },
        async created() {
            let { id } = this.$route.params;
            let info = await getDetail({ id });
            if (!this.$_.isEmpty(info)) {
                // this.info = info;
                location.href = info.url;
            }
        },
        async mounted() {},
    };
</script>

<style lang="scss" scoped>
    .box {
        width: 100%;
        height: 100vh;
        iframe {
            overflow: hidden;
            border: none;
        }
        #ifr ::-webkit-scrollbar {
            width: 0 !important;
        }
    }
</style>
